.frame-work-book {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background: #fff;

  .frame-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: 10px;
    padding-top: 15px;
    color: #e45050;
  }

  .get-more {
    text-align: center;
    font-size: .8rem;
    padding: 10px;

    .mui-icon {
      transform: rotateZ(43deg);
      font-size: 1.3rem;
      vertical-align: top;
    }
  }

}

.frame-body {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  .book-list {
    display: flex;
    flex-wrap: wrap;
    .thouch-active();
    img {
      width: 100%;
    }
    .book-summary {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
      word-wrap: break-word;
      font-size: .8rem;
    }
    .book-info {
      .book-title {
        font-size: .9rem;
      }
      .hot-tap {
        height: 20px;
        font-size: .5rem;
        padding: 0px 10px;
        vertical-align: top;
        border-radius: 30px;
        background: #e45050;
        color: #fff;
      }
      .book-type {
        font-size: .7rem;
        padding: 5px 0;
        color: #999;
      }
    }
  }
}

// 共用
.base-item-setting() {
  width: 100%;
  padding-bottom: 10px;
  .img-box {
    width: 30%;
  }
  .book-info {
    padding: 0 10px;
    width: 70%;
    .book-title {
      font-size: 1rem;
      position: relative;
    }
  }
}

.frame-work-book1 {
  .frame-body {
    .book-list {
      width: 23%;
      .img-box {
        width: 100%;
      }
      &:first-child {
        .base-item-setting();
        .hot-tap {
          position: absolute;
          right: 0;
        }
      }
      &:not(:first-child) {
        .book-type {
          padding: 0;
        }
      }
    }
  }
}

.frame-work-book2 {
  .base-item-setting()
}

.frame-work-book3 {
  .frame-body {
    .book-list {
      width: 50%;
      .img-box {
        width: 45%;
      }
      .book-info {
        width: 55%;
        padding: 5px;
        .book-title {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
        }
        .book-type {
          white-space: nowrap;
          overflow: auto;
        }
        .hot-tap {
          display: inline-block;
        }
      }
    }
  }
}
